package com.glory.hikvisionmobile.bean.TrackIn;

import com.google.gson.annotations.SerializedName;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TrackInLoadBean implements Serializable {
    private List<XPdaEquipment> XPdaEquipments;

    private String mainQty;

    private String currentStepName;

    private String currentStepDesc; //当前工序描述

    private String recipeName;

    private String recipeDesc;

    private List<XPdaOperationBean> operations;

    private String componentIds;

    private String graphiteCarrierId;//石墨舟载具号

    private String subEquipmentId; //子设备列表

    private String partDesc;

    private String partName;

    @SerializedName("rqtime")
    private String RQTime;

    @SerializedName("fankes")
    private List<PromptFankBean> fankBeans;

    public String getRecipeDesc() {
        return recipeDesc == null ? "" : recipeDesc;
    }

    public void setRecipeDesc(String recipeDesc) {
        this.recipeDesc = recipeDesc;
    }

    public String getPartDesc() {
        return partDesc == null ? "" : partDesc;
    }

    public void setPartDesc(String partDesc) {
        this.partDesc = partDesc;
    }

    public String getPartName() {
        return partName == null ? "" : partName;
    }

    public void setPartName(String partName) {
        this.partName = partName;
    }

    public String getRQTime() {
        return RQTime == null ? "" : RQTime;
    }

    public void setRQTime(String RQTime) {
        this.RQTime = RQTime;
    }

    public List<XPdaOperationBean> getOperations() {
        if (operations == null) {
            return new ArrayList<>();
        }
        return operations;
    }

    public String getCurrentStepNameDesc() {
        return currentStepDesc == null ? "" : currentStepDesc;
    }

    public void setCurrentStepNameDesc(String currentStepNameDesc) {
        this.currentStepDesc = currentStepNameDesc;
    }

    public String getGraphiteCarrierId() {
        return graphiteCarrierId == null ? "" : graphiteCarrierId;
    }

    public void setGraphiteCarrierId(String graphiteCarrierId) {
        this.graphiteCarrierId = graphiteCarrierId;
    }

    public void setOperations(List<XPdaOperationBean> operations) {
        this.operations = operations;
    }

    public List<XPdaEquipment> getXPdaEquipment() {
        if (XPdaEquipments == null) {
            return new ArrayList<>();
        }
        return XPdaEquipments;
    }

    public void setXPdaEquipment(List<XPdaEquipment> XPdaEquipment) {
        this.XPdaEquipments = XPdaEquipment;
    }


    public String getSubEquipmentId() {
        return subEquipmentId == null ? "" : subEquipmentId;
    }

    public void setSubEquipmentId(String subEquipmentId) {
        this.subEquipmentId = subEquipmentId;
    }


    public String getMainQty() {
        return mainQty == null ? "" : mainQty;
    }

    public void setMainQty(String mainQty) {
        this.mainQty = mainQty;
    }

    public String getCurrentStepName() {
        return currentStepName == null ? "" : currentStepName;
    }

    public void setCurrentStepName(String currentStepName) {
        this.currentStepName = currentStepName;
    }

    public String getRecipeName() {
        return recipeName == null ? "" : recipeName;
    }

    public void setRecipeName(String recipeName) {
        this.recipeName = recipeName;
    }


    public String getComponentIds() {
        return componentIds == null ? "" : componentIds;
    }

    public void setComponentIds(String componentIds) {
        this.componentIds = componentIds;
    }

    public List<PromptFankBean> getFankBeans() {
        return fankBeans == null ? new ArrayList<>() : fankBeans;
    }

    public void setFankBeans(List<PromptFankBean> fankBeans) {
        this.fankBeans = fankBeans;
    }
}
